package com.tc.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: tianchao
 * @Date: 2020/8/30 10:49
 * @Description:
 */
@RestController
public class HelloController {
    Logger logger = LoggerFactory.getLogger(this.getClass());
    @GetMapping("/hello")
    public String hello(){
        logger.debug("debug");
        logger.info("info");
        logger.error("error");
        //logger.info("info");
        return "hello boot";
    }
}
